package com.majun.dao;

import com.majun.entity.User;

import java.util.List;

/**
 * @author majun
 * @date 2025/04/15
 */
public interface UserDao {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);


    List<User> selectAll();
}